select max id laravel

55

select max id laravel -

 \DB::table('orders')->where('id', \DB::raw("(select max(`id`) from orders)"))->get();

Comments

Submit
0 Comments